Natural language processor extension transmission data protection

ABSTRACT

A natural language query can be received at a main natural language processor inside a data protection compliance boundary in a computer system. The natural language query can be processed via the main natural language processor. The data from the query can be transmitted to a data protection computer component. It can be determined via the data protection component whether the data from the query includes protected data whose transmission to a computerized extension would violate a computer-readable data protection rule. The extension is outside the compliance boundary in the computer system and is configured to participate in responding to natural language queries received by the main natural language processor. In response to determining that the data from the query includes the protected data, transmission of the protected data from the main natural language processor to the extension as part of responding to the query can be inhibited.

BACKGROUND

Many natural language conversational computer systems have included a main natural language processor. A main natural language processor is a computer component that operates to automatically interact using a natural language dialog, which can include receiving natural language queries, processing those queries, and responding with natural language dialog scripts. The processing of the queries can include identifying an intent of a received natural language query, as well as possibly one or more entities for the natural language query. As used herein, an “intent” is computer-readable data that represents what a computer system component has identified as a meaning that was intended by a natural language query. An “entity” in this context is computer-readable data that represents one or more details identified by the computer system for an identified intent. A natural language is a language used in natural conversation between human beings, such as Mandarin Chinese, Spanish, English, Hindi, Arabic, Portuguese, Japanese, German, French, etc. Natural language can also include language modifications that are used in natural conversation between human beings in various different contexts, such as digital messaging conversations, in-person conversations, etc. For example, such modifications may include mixtures of formal languages, abbreviations, and/or slang.

In some configurations, a main natural language processor may invoke a conversation query processor, which is a computer component that can handle at least a portion of a response to a natural language query when instructed to do so by a main natural language processor. This is often done by having a main natural language processor use a grammar that has one or more slots to be filled with keywords. For example, a natural language query may say “ask App X to call a cab.” Such a statement may match a grammar that says, “ask ______ to ______”, with the underlined portions representing slots. The main natural language processor can recognize that the natural language query fits the form of the grammar, so that the natural language query is recognized as having the intent of invoking the application called “App X” to do something, in this case “call a cab.” Thus, the main natural language processor can invoke the App X conversation query processor and pass to it an intent and possibly one or more entities, which instruct App X to initiate an operation for calling a cab.

SUMMARY

The tools and techniques discussed herein relate to protecting data from natural language queries from being disclosed in transmissions from a main natural language processor to a computerized extension for responding to natural language queries, where it is determined that disclosure of such data to the extension would violate data protection rules.

In one aspect, the tools and techniques can include receiving a natural language query at a main natural language processor inside a data protection compliance boundary in a computer system. The natural language query can be processed via the main natural language processor. The data from the query can be transmitted to a data protection computer component, such as from the main natural language processor to the data protection component. It can be determined via the data protection component whether the data from the query includes protected data whose transmission to a computerized extension would violate a computer-readable data protection rule, where the extension is outside the compliance boundary in the computer system. The extension is a computerized extension that is configured to participate in responding to natural language queries received by the main natural language processor. In response to determining that the data from the query includes the protected data, transmission of the protected data from the main natural language processor to the extension as part of responding to the query can be inhibited.

This Summary is provided to introduce a selection of concepts in a simplified form. The concepts are further described below in the Detailed Description. This Summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter. Similarly, the invention is not limited to implementations that address the particular techniques, tools, environments, disadvantages, or advantages discussed in the Background, the Detailed Description, or the attached drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram of a suitable computing environment in which one or more of the described aspects may be implemented.

FIG. 2 is schematic diagram of a natural language conversation system.

FIG. 3 is a schematic diagram of some components of the natural language conversation system of FIG. 3 that are involved in data protection in natural language processing transmissions.

FIG. 4 is a flowchart of a technique for data protection in natural language processing transmissions.

DETAILED DESCRIPTION

Aspects described herein are directed to techniques and tools for improved data protection in a natural language processing system, and specifically to data protection in natural language natural language extension data transmissions. Such improvements may result from the use of various techniques and tools separately or in combination.

Such techniques and tools may include data protection for processing of natural language intent queries based on results from a data protection component, which can be a meta intent processor that can classify data as protected data or non-protected data. Based on that classification, the protection can be implemented by inhibiting transmission (such as using filtering, blocking, and/or masking) of data that is classified as protected data from a main natural language processor to an extension of the main natural language processor in a natural language conversation system. For example, a natural language conversation system utilized by a hospital may include a data protection component that is configured to match data from natural language queries with patient names such a match can indicate that the matching data from a natural language query is protected data (in this specific example, the name of a patient in the hospital). The system may be programmed with a rule that indicates such protected data is not to be transmitted to a third party computerized extension that would normally be invoked in responding to the query. Thus, the system can be configured so that, in response to identifying such a match, the system can inhibit the transmission of the protected data (the patient name, in the specific example) from the main natural language processor that is handling the query to the extension, such as by filtering, blocking, and/or masking the protected data. As used herein, data protection, privacy, and/or security rules are computer-readable code and/or data in a computer system that govern determinations via the computer system as to whether particular data can be sent to identified receiving computer components, such as to receiving hardware devices, software programs, profiles (e.g., user profiles), etc. As discussed herein, the rules may be implemented with one or more compliance boundaries, which are boundaries (e.g., boundaries between different hardware devices, software programs, profiles (e.g., user profiles), etc.) in the computer system beyond which protected data specified in the rules is not to be transmitted. Such boundaries may be specified in the rules.

This data protection can allow the protected data to be handled effectively by the main natural language processor within a compliance boundary, and can allow the use of an extension that is outside a data protection compliance boundary, while maintaining compliance with data privacy and security rules by inhibiting violating disclosures to extensions outside the compliance boundary in responding to natural language queries in computer systems. This can allow for improved flexibility and functionality in the use of extensions for handling natural language queries received by a main natural language processor, while maintaining security and privacy of protected data. Accordingly, the data protection computer tools and techniques discussed herein provide an improved natural language conversation computer system.

The subject matter defined in the appended claims is not necessarily limited to the benefits described herein. A particular implementation of the invention may provide all, some, or none of the benefits described herein. Although operations for the various techniques are described herein in a particular, sequential order for the sake of presentation, it should be understood that this manner of description encompasses rearrangements in the order of operations, unless a particular ordering is required. For example, operations described sequentially may in some cases be rearranged or performed concurrently. Moreover, for the sake of simplicity, flowcharts may not show the various ways in which particular techniques can be used in conjunction with other techniques.

Techniques described herein may be used with one or more of the systems described herein and/or with one or more other systems. For example, the various procedures described herein may be implemented with hardware or software, or a combination of both. For example, the processor, memory, storage, output device(s), input device(s), and/or communication connections discussed below with reference to FIG. 1 can each be at least a portion of one or more hardware components. Dedicated hardware logic components can be constructed to implement at least a portion of one or more of the techniques described herein. For example and without limitation, such hardware logic components may include Field-programmable Gate Arrays (FPGAs), Program-specific Integrated Circuits (ASICs), Program-specific Standard Products (ASSPs), System-on-a-chip systems (SOCs), Complex Programmable Logic Devices (CPLDs), etc. Applications that may include the apparatus and systems of various aspects can broadly include a variety of electronic and computer systems. Techniques may be implemented using two or more specific interconnected hardware modules or devices with related control and data signals that can be communicated between and through the modules, or as portions of an application-specific integrated circuit. Additionally, the techniques described herein may be implemented by software programs executable by a computer system. As an example, implementations can include distributed processing, component/object distributed processing, and parallel processing. Moreover, virtual computer system processing can be constructed to implement one or more of the techniques or functionality, as described herein.

I. Exemplary Computing Environment

FIG. 1 illustrates a generalized example of a suitable computing environment (100) in which one or more of the described aspects may be implemented. For example, one or more such computing environments can be used as a client device and/or a device in a service for providing natural language conversational computer features. Generally, various different computing system configurations can be used. Examples of well-known computing system configurations that may be suitable for use with the tools and techniques described herein include, but are not limited to, server farms and server clusters, personal computers, server computers, smart phones, laptop devices, slate devices, game consoles, multiprocessor systems, microprocessor-based systems, programmable consumer electronics, network PCs, minicomputers, mainframe computers, distributed computing environments that include any of the above systems or devices, and the like.

The computing environment (100) is not intended to suggest any limitation as to scope of use or functionality of the invention, as the present invention may be implemented in diverse types of computing environments.

With reference to FIG. 1, various illustrated hardware-based computer components will be discussed. As will be discussed, these hardware components may store and/or execute software. The computing environment (100) includes at least one processing unit or processor (110) and memory (120). In FIG. 1, this most basic configuration (130) is included within a dashed line. The processing unit (110) executes computer-executable instructions and may be a real or a virtual processor. In a multi-processing system, multiple processing units execute computer-executable instructions to increase processing power. The memory (120) may be volatile memory (e.g., registers, cache, RAM), non-volatile memory (e.g., ROM, EEPROM, flash memory), or some combination of the two. The memory (120) stores software (180) implementing data protection in natural language extension transmissions. An implementation of data protection in natural language extension transmissions may involve all or part of the activities of the processor (110) and memory (120) being embodied in hardware logic as an alternative to or in addition to the software (180).

Although the various blocks of FIG. 1 are shown with lines for the sake of clarity, in reality, delineating various components is not so clear and, metaphorically, the lines of FIG. 1 and the other figures discussed below would more accurately be grey and blurred. For example, one may consider a presentation component such as a display device to be an I/O component (e.g., if the display device includes a touch screen). Also, processors have memory. The inventors hereof recognize that such is the nature of the art and reiterate that the diagram of FIG. 1 is merely illustrative of an exemplary computing device that can be used in connection with one or more aspects of the technology discussed herein. Distinction is not made between such categories as “workstation,” “server,” “laptop,” “handheld device,” etc., as all are contemplated within the scope of FIG. 1 and reference to “computer,” “computing environment,” or “computing device.”

A computing environment (100) may have additional features. In FIG. 1, the computing environment (100) includes storage (140), one or more input devices (150), one or more output devices (160), and one or more communication connections (170). An interconnection mechanism (not shown) such as a bus, controller, or network interconnects the components of the computing environment (100). Typically, operating system software (not shown) provides an operating environment for other software executing in the computing environment (100), and coordinates activities of the components of the computing environment (100).

The memory (120) can include storage (140) (though they are depicted separately in FIG. 1 for convenience), which may be removable or non-removable, and may include computer-readable storage media such as flash drives, magnetic disks, magnetic tapes or cassettes, CD-ROMs, CD-RWs, DVDs, which can be used to store information and which can be accessed within the computing environment (100). The storage (140) stores instructions for the software (180).

The input device(s) (150) may be one or more of various different input devices. For example, the input device(s) (150) may include a user device such as a mouse, keyboard, trackball, etc. The input device(s) (150) may implement one or more natural user interface techniques, such as speech recognition, touch and stylus recognition, recognition of gestures in contact with the input device(s) (150) and adjacent to the input device(s) (150), recognition of air gestures, head and eye tracking, voice and speech recognition, sensing user brain activity (e.g., using EEG and related methods), and machine intelligence (e.g., using machine intelligence to understand user intentions and goals). As other examples, the input device(s) (150) may include a scanning device; a network adapter; a CD/DVD reader; or another device that provides input to the computing environment (100). The output device(s) (160) may be a display, printer, speaker, CD/DVD-writer, network adapter, or another device that provides output from the computing environment (100). The input device(s) (150) and output device(s) (160) may be incorporated in a single system or device, such as a touch screen or a virtual reality system.

The communication connection(s) (170) enable communication over a communication medium to another computing entity. Additionally, functionality of the components of the computing environment (100) may be implemented in a single computing machine or in multiple computing machines that are able to communicate over communication connections. Thus, the computing environment (100) may operate in a networked environment using logical connections to one or more remote computing devices, such as a handheld computing device, a personal computer, a server, a router, a network PC, a peer device or another common network node. The communication medium conveys information such as data or computer-executable instructions or requests in a modulated data signal. A modulated data signal is a signal that has one or more of its characteristics set or changed in such a manner as to encode information in the signal. By way of example, and not limitation, communication media include wired or wireless techniques implemented with an electrical, optical, RF, infrared, acoustic, or other carrier.

The tools and techniques can be described in the general context of computer-readable media, which may be storage media or communication media. Computer-readable storage media are any available storage media that can be accessed within a computing environment, but the term computer-readable storage media does not refer to propagated signals per se. By way of example, and not limitation, with the computing environment (100), computer-readable storage media include memory (120), storage (140), and combinations of the above.

The tools and techniques can be described in the general context of computer-executable instructions, such as those included in program modules, being executed in a computing environment on a target real or virtual processor. Generally, program modules include routines, programs, libraries, objects, classes, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The functionality of the program modules may be combined or split between program modules as desired in various aspects. Computer-executable instructions for program modules may be executed within a local or distributed computing environment. In a distributed computing environment, program modules may be located in both local and remote computer storage media.

For the sake of presentation, the detailed description uses terms like “determine,” “choose,” “adjust,” and “operate” to describe computer operations in a computing environment. These and other similar terms are high-level abstractions for operations performed by a computer, and should not be confused with acts performed by a human being, unless performance of an act by a human being (such as a “user”) is explicitly noted. The actual computer operations corresponding to these terms vary depending on the implementation.

II. Natural Language Conversational Computer System

FIG. 2 is a schematic diagram of a natural language conversational computer system (200) in conjunction with which one or more of the described aspects may be implemented.

Communications between the various devices and components discussed herein can be sent using computer system hardware, such as hardware within a single computing device, hardware in multiple computing devices, and/or computer network hardware. A communication or data item may be considered to be sent to a destination by a component if that component passes the communication or data item to the system in a manner that directs the system to route the item or communication to the destination, such as by including an appropriate identifier or address associated with the destination. Also, a data item may be sent in multiple ways, such as by directly sending the item or by sending a notification that includes an address or pointer for use by the receiver to access the data item. In addition, multiple requests may be sent by sending a single request that requests performance of multiple tasks.

Referring now to FIG. 2, components of the computer system (200) will be discussed. Each of the computer components discussed herein includes hardware, and may also include software. For example, a component of FIG. 2 can be implemented entirely in computer hardware, such as in a system on a chip configuration. Alternatively, a component can be implemented in computer hardware that is configured according to computer software and running the computer software. The components can be distributed across computing machines or grouped into a single computing machine in various different ways. For example, a single component may be distributed across multiple different computing machines (e.g., with some of the operations of the component being performed on one or more client computing devices and other operations of the component being performed on one or more machines of a server).

Referring still to FIG. 2, the components of the computer system (200) can include one or more client devices (210), and a server system (212), which itself includes multiple components.

A. Client Devices

Each client device (210) can produce a natural language input from the user's input, such as voice input, text input, sign language input, or other gestural input, and can forward the input in the form of a natural language query (214) (which may be a question, statement, etc.), and the client device (210) may also output a conversation identifier (216) corresponding to a conversation that includes the associated query (214). Specifically, a client device (210) can send the query (214) to the server system (212), and can receive back a computer-readable answer (218). The client device (210) can present the natural language answer (218) in the form of a visual display and/or voice output on a computer display and/or speaker. For example, the presented natural language can be in the form of output cards or plain visual and/or audio natural language.

A possible protocol for integration of the server system (212) with the client devices (210) could be through the use of structured JSON requests and/or responses. With such a protocol, different client devices (210) could parse the JSON response answers (218), with different clients producing different displays as determined by the client devices (210). Alternatively, a different protocol could be used, where the server system (212) could dictate all or part of the visual layout of displays of the answers (218), such as using one or more Web user interface languages (e.g., HTML, CSS, and/or Java Script). Accordingly, the answers (218) may be in the form of digital “cards”, which are used in existing natural language systems. The answers (218) presented on the client devices (210) may be interactive (such as including displayed controls or other interactive elements) or non-interactive. As discussed above, the layout of the displays of the answers (218) may be dictated by the client devices (210) and/or by one or more components of the server system (212). Additionally, as with other digital communications discussed herein, the answer (218) may be modified by different components as it is passed through components in the natural language conversation system (200), and can still be considered to be the same answer (218).

B. Main Natural Language Processor

The server system (212) can include a main natural language processor (220). The main natural language processor (220) can receive natural language queries (214) and conversation identifiers (216), can process those queries (214), and can respond in an automated manner with natural language answers (218). For some queries (214), the main natural language processor (220) may identify or generate intents of the queries (214) and possibly also identify or generate entities for those intents within the main natural language processor (220). The main natural language processor (220) may also generate responses to the queries using those intents and entities.

The main natural language processor (220) can access and/or manage computer readable user profiles (224), which may include user identifications (226). The user profiles (224) may include other computer-readable data, such as data indicating preferences of the user profile (224). The main natural language processor (220) may use such user profiles (224) in formulating answers to queries. Profile data may also come from a client device (210), such as location or other sensor data from a client device (210). In some scenarios, a user could choose to only keep profile data on a client device (210) or in an independent profile store (indeed, some or all of the user profiles (224) may be in such an independent profile store), and only provide certain data based on parameters such as location, time, or query type.

The main natural language processor (220) can include registrations (222) of extensions (230). For example, each registration (222) can include data instructing the main natural language processor (220) to interact with the corresponding extension (230), and possibly also including details as to how such interaction is to occur (such as by including identifiers and/or addresses for the extensions (230), details of protocols to be used in communicating with the extensions (230), etc.). For some queries (214), the main natural language processor (220) may not be equipped to produce intents and entities on its own (or at least not with a predetermined level of confidence). For producing such intents and entities, the main natural language processor (220) can dispatch the received query to an extension (230). Additional features of the main natural language processor (220) in interacting with the extensions (230) will be discussed below in the discussions of the components of the extensions. If the use of the extensions (230) does not produce a specific answer to a query (such as where none of the extensions are able to produce an intent of the query with sufficient confidence), the main natural language processor (220) may fall back on a default action, such as returning Web search results as an answer to a query.

C. Extensions

The extensions (230) could be pre-registered with the main natural language processor (220), such as where the extension (230) is developed and registered as part of the initial development of the main natural language processor (220). As another example, an extension (230) could be available from an online marketplace or gallery of extensions, and could be registered with the main natural language processor (220) after the main natural language processor (220) is initially developed and running. As another example, an extension (230) could be developed specifically for a particular tenant such as a company profile, and could be registered with the main natural language processor (220) after the main natural language processor (220) is initially developed and running

Each extension may include an extension natural language processor (232) and may also include a conversation query processor (234). An extension (230) may also include additional components and/or data, such as metadata for the extension, a title, a logo, a description of the extension, etc. For some extensions, the functions of the conversation query processor (234) may be performed internally within the main natural language processor (220) so that the extension (230) outside the main natural language processor does not include a conversation query processor (234), but still includes the extension natural language processor (232). Features of the extension natural language processors (232) and the conversation query processors (234) are discussed below.

D. Extension Natural Language Processors

The natural language processor (232) for an extension (230) is a component that can receive a natural language query (214), process the query (214), and return an intent (240) of the query (214), and possibly also one or more entities (242) for the intent (240). The extension natural language processors (232) for different extensions (230) can operate independent of the main natural language processor (220), such that each extension natural language processor (232) can operate without an awareness of internal operations of the main natural language processor (220). Also, different extension natural language processors (232) for different extensions (230) can operate independent of each other, such that each extension natural language processor (232) can operate without an awareness of internal operations of other extension natural language processors (232). However, the extension natural language processors (232) may still utilize some common components, such as a main natural language understanding component having multiple different endpoints for different extension natural language processors (232). Alternatively, different extension natural language processors (232) may utilize separate and different language understanding components.

As an example, a pre-existing language understanding component may be invoked by passing the natural language text (and possibly other information such as a key and a conversation identifier (216)) to the component with a request to return intents (240) and possibly entities (242) representing the meaning(s) of the natural language text. Different keys and/or application identifiers submitted to the language understanding component may be used for different natural languages, thereby signaling to the language understanding component which language is being used. The language understanding component may include one or more known components for natural language understanding. For example, the language understanding component may utilize a lexicon of the natural language, as well as a parser and grammar rules to break each natural language phrase into a data representation of the phrase. The language understanding component may also utilize a semantic theory to guide comprehension, such as a theory based on naïve semantics, stochastic semantic analysis, and/or pragmatics to derive meaning from context. Also, the language understanding component may incorporate logical inference techniques such as by mapping a derived meaning into a set of assertions in predicate logic, and then using logical deduction to arrive at conclusions as to the meaning of the text. Using results of such language understanding techniques, the language understanding component can map the resulting derived meanings to one or more intents (240) and/or entities (242) to be passed back to the main natural language processor (220), as discussed above. The extension natural language processors (232) may also produce confidence scores for the returned intents (240), with such confidence scores quantifying the strength of the functions of the extension natural language processor (232) in mapping the query (214) onto the returned intent (240).

While an extension natural language processor (232) may use a common underlying language understanding component, each extension natural language processor (232) may be developed in a personalized manner for the type of extension being developed. For example, such development may include defining an intent model in a programming language that is supported by the language understanding component, with the language understanding component serving as a platform on which different extension natural language processors (232) can be built in a standard way. For example, an extension for handling greetings may be programmed to use the language understanding component to produce intents and entities in response to typical greetings (e.g., “Hello”, “How are you doing today?”, etc.). As another example, an extension for ordering a pizza can be programmed to use the language understanding component to produce intents and entities in response to typical commands dealing with pizza ordering (e.g., “I am hungry”, “I want a pizza”, “Get me a pepperoni pizza?”, “Where can I get a pizza?”, etc.). Such programming of an extension natural language processor (232) can be performed independently of development of the main natural language processor (220), with the main natural language processor (220) merely utilizing the data in a registration (222) for the extension natural language processor (232). Accordingly, this architecture can provide for added efficiency and flexibility in developing and maintaining additional capabilities of the natural language conversation system (200), and in the operation of the natural language conversation system (200).

The extension natural language processors (232) in the architecture of the natural language conversation system (200), whether installed in the natural language conversation system (200) directly or from a marketplace, can operate as translators between user input and task input, such as between natural language queries (214) and intents (240) of the natural language queries (214) (possibly also producing entities (242)). With the extension natural language processors (232) being independent of the main natural language processor (220), issues such as data storage issues, data compliance issues, and bandwidth issues can be handled by developers of the extensions (230). Additionally, developers and/or managers of the extension natural language processors (232) can control and improve their own developed extension natural language processors (232) as they see fit for their own extension (230), largely independent of development of the main natural language processor (220).

The extension natural language processors (232) may be grouped in categories with shared intents. For example, “turn on the light” may be a single intent for a “Lighting” extension. That Lighting extension may route the intent to an appropriate system for a light fixture in a location of the client device (210) that produced the associated query (214). For example, such routing may be performed by the conversation query processor (234) for the extension (230). Data indicating such a location can be sent from the client device (210) along with the query (214) (such as with a query stating, “Turn on the lights.”). Such data from the client device (210) may be considered profile data (indicating the location of the user profile (224), such as the location of the client device (210) the user profile (224) is using to interact with the server system (212).

E. Selection of an Intent and a Conversation Query Processor by the Main Natural Language Processor

The main natural language processor (220) can receive the intents (240) and entities (242) from the extension natural language processors (232). In some instances, only a single intent from a single extension natural language processor (232) may be returned to the main natural language processor (220) for a particular query (214). In other instances, no matching intents (240) may be returned for a particular query (214), and the main natural language processor (220) can resort to a default action, as discussed above. In yet other instances, multiple intents (240) can be returned from multiple different extension natural language processors (232).

For example, the main natural language processor (220) may have sent the query (214) to a large set of extension natural language processors (232), and only a subset of those extension natural language processors (232) may be capable of understanding that particular query (214) and returning a corresponding intent (240). As an example, if the main natural language processor (220) sends a query (214) that reads, “I am hungry” to multiple different extension natural language processors (232), an extension natural language processor for a pizza ordering extension may be programmed to return an intent for that query, and another extension natural language processor for making reservations at a restaurant may be programmed to return an intent for that query, but an extension natural language processor for an extension that schedules rides in taxi cabs may not be programmed to return an intent for that query. Thus, the main natural language processor (220) may send the query to all three extension natural language processors (232), but it may only receive back an “order a pizza” intent from the pizza ordering extension natural language processor and a “make a reservation” intent from restaurant reservation extension natural language processor.

The main natural language processor (220) can match an intent (240) with a corresponding conversation query processor (234). For example, the extension natural language processor (232) may be part of the same extension (230) as the corresponding conversation query processor (234), as indicated to the main natural language processor (220) in the registration (222) for that extension (230). Thus, upon receiving an intent (240) from a particular extension natural language processor (232), the main natural language processor (220) may look up the registration (222) for that extension natural language processor's extension (230) to find data regarding the corresponding conversation query processor (234). As another example, along with returning the intent (240), the extension natural language processor may also return an identifier (such as an address, etc.) for the conversation query processor (234) that is to process that intent (240). The main natural language processor (220) can use such an identifier to match the received intent (240) with the matching conversation query processor (234).

Where multiple intents (240) are received from multiple extension natural language processors (232) for a single query (214), the main natural language processor (220) can select an intent (240) and can match that selected intent (240) with a corresponding conversation query processor (234) for the intent (240), to also select the conversation query processor (234) for handling a response to the query (214). This selection of an intent (240) from among multiple different intents (240) can involve disambiguation from among the multiple intents (240). This disambiguation to select an intent (240) by the main natural language processor (220) can include factoring in multiple different signals or data items regarding the multiple different intents (240) being considered, to produce scores for different intents (240).

For example, different factors can be weighted and combined, such as by summing together multiple different weighted scores for different factors for each intent (240) being considered. For example, these factors can include policy-based factors (which may include rankings of different options by one or more administrative users and/or computer-readable rules to be applied to other factors), contextual information (such as location of the client device (210), preferences of a user profile (224) currently logged in at the client device (210) and sending the query (214), current budget levels, etc.), past user inputs choosing intents, confidence levels for the intents (240) provided by the extension natural language processors (232) along with the intents (240) (especially if such confidence levels can be verified to be consistent with each other by the main natural language processor (220)), and/or other factors.

As an example of such other factors, intents (240) can be prioritized based on tiers of the extension natural language processors (232) that produced and provided the respective intents. For example, the tiers may include a first party extension natural language processor tier and a third party extension natural language processor tier, with the intent selection favoring those intents produced and provided by the extension natural language processors (232) in the first party extension natural language processor tier.

The use of different factors and/or weights for the factors may be set initially, and may be modified over time, such as by tuning a computer-readable selection model using a machine learning feedback loop. The scores for different intents (240) produced by combining quantities for such factors can be ranked to produce a ranking of the intents (240). In some instances, a top ranked intent (240) may be automatically selected. In other instances, the ranking may be used by the main natural language processor (220) to formulate an answer (218) that requests input from the client device (210) (user input) selecting one of the intents (240). That answer (218) can provide choices of available intents (240) in an order of their ranking, allowing user input from the client device (210) to select an intent (240) from the available intents (240). Such an answer (218) may exclude one or more available intents whose scores fall below a specified threshold, such as a set score threshold or a threshold below a specified number of intents (240) (e.g., excluding all but the top five ranked intents (240)). The main natural language processor (220) may determine whether to request user input for selection of the intent (240) in an answer (218), based on the ranking scores of the different intents (240). For example, the main natural language processor (220) may request user input if a difference between scores of the top two intents (240) is not as great as a predetermined amount, and/or if a score of a top scoring intent (240) is not above a predetermined threshold.

Thus an intent (240) can be selected as the only intent (240) available, an intent (240) may be selected as a top intent from rankings performed by the main natural language processor (220), or an intent may be selected by user input data from a client device (210). In any of these instances, the main natural language processor (220) can match the chosen intent with a conversation query processor (234) for handling the query (214) for the selected intent (240), as discussed above.

The main natural language processor (220) can also send the selected intent (240) along with other corresponding data to the selected conversation query processor (234). For example, this other data can include one or more entities (242) for the selected intent (240), a conversation identifier (216), a masked user identifier (250), and/or other data.

The masked user identifier (250) can be masked (altered to hide the underlying identifier from which the masked user identifier (250) is derived) to protect privacy of a corresponding user's information. For example, a masked user identifier (250) for a user profile (224) can be a randomly generated globally unique identifier associated with the user profile (224) (and possibly also associated with a particular extension (230), so that the globally unique identifier is specific to the extension (230) and specific to the user profile (224)) by the main natural language processor (220). As another example, a user identification (226) can be hashed using a standard hashing function (such as a hashing function based on an SHA algorithm or an MD5 algorithm), and the resulting hash can be sent as the masked user identifier (250). For either example, the masked user identifier (250) can be particular to an extension (230), which may include being specific to the conversation query processor (234) that is receiving the masked user identifier (250). This can inhibit those managing a particular conversation query processor (234) from effectively sharing information about particular user identifiers with those managing other conversation query processors (234). For example, in the hashing example above the main natural language processor (220) can have a different identifier for each extension (230), and that different identifier can be input into the hashing function along with the user identification (226) (where the identifier for the extension (230) can be a “salt” value in the hashing function). However, the conversation query processor (234) can still track the masked user identifier (250) to provide personalized processing and responses for particular user profiles, such as by tracking preferences of particular user profiles that have previously used the conversation query processor (234).

F. Conversation Query Processor

Each conversation query processor (234) is configured to accept and process an intent (240) and possibly other corresponding computer-readable data, such as one or more entities (242), a conversation identifier (216), and/or a masked user identifier (250). Upon processing this data, the conversation query processor (234) can generate an answer (218) that is responsive to the entity (242) and possibly responsive to the other received data. The conversation query processor (234) can operate and be developed independently of the main natural language processor (220), although a conversation query processor (234) may be integrated with the main natural language processor (220) in some configurations. The main natural language processor (220) may monitor the interaction with the conversation query processor (234) and/or the natural language processor (232), and intervene in certain situations. For example, the main natural language processor (220) may intervene in response to a query (214) saying “cancel this conversation” or “place this conversation on hold”, even if the query (214) is directed to a conversation query processor (234). Such intervention by the main natural language processor (220) can provide the user profile (224) with an escape hatch to end or suspend a conversation with an extension (230). The main natural language processor (220) may also generate and maintain records of histories of conversations with the extensions. Such history records may be used by the natural language processor (220) and the extensions (230) to resume conversations that have been suspended.

A conversation query processor (234) can map the received intent (240) and possibly a combination of other received data onto a computer-readable answer (218). The generation of the answer (218) may also include filling in slots in one or more pre-defined statements stored in the server system (212). For example, an answer (218) from the conversation query processor (234) can provide a natural language script for an answer (218), with the natural language script being computer data representing the natural language of the answer (218). The answer may be sent from the conversation query processor (234) to the requesting client device (210) without being handled by the main natural language processor (220). Alternatively, the main natural language processor (220) may receive the answer (218) and send the answer (218) to the client device (210). Additionally, the main natural language processor (220) may modify the answer (218) before sending the answer (218) to the client device (210). For example, the main natural language processor (220) may add features to the answer, such as adding controls (such as buttons that can be selected to provide responses, such as a “YES” button and a “NO” button to allow user input to provide an answer to a yes/no question in the answer (218)).

The conversation query processor (234) may provide data representing visual features for an answer (218) that is to be displayed on a computer display of a client device (210). Also, for answers (218) that are to be audibly played, textual data may be translated to speech using a text-to-speech component in the conversation query processor (234), the main natural language processor (220), the client device (210), and/or elsewhere in the natural language conversation system (200). Likewise, for voiced user input into the client devices (210), such voiced input may be translated to textual data using a speech-to-text component in the client device (210), the main natural language processor (220), in an extension natural language processor (232), and/or elsewhere in the natural language conversation system (200).

In addition to providing an answer (218) that is responsive to a received intent (240), the conversation query processor (234) may perform on more tasks requested by the intent (240). For example, if the intent is asking to order a pizza, the task may actually enter the order for the pizza (the performance of the task) in addition to sending a natural language answer (218), confirming that the pizza has been ordered. In some instances, a task performed by the conversation query processor (234) may be to instruct another component to perform a task. For example, if the conversation query processor (234) is not configured to enter a pizza order itself or process payment for the pizza, it may perform the task by requesting that another computer component enter the pizza order or process the payment.

Optionally the conversation query processor (234) may request profile data (name, email, phone number, etc.) and/or context data (location, time zone, calendar), which can allow the conversation query processor (234) to provide better answers (218) and/or to be better able to perform tasks in a manner that matches the profile and context data. These data requests can be mediated by the main natural language processor (220). Specifically, the main natural language processor (220) may either allow such a request and provide requested information, or deny the request. For example, the main natural language processor (220) may send to the client device a request for the conversation query processor (234) to have access to the requested information, with this request describing the type of data to which access requested and also describing the requesting extension (230). Some extensions (230) may be pre-approved or pre-denied for access to specified types of data by policy when installed or subsequent to installation.

G. Multi-Turn Conversation Processing

The extensions (230) can be configured to store representations of the state of a conversation, and to handle multi-turn conversations using the intents (240) discussed above. For example, such a representation of state may be maintained and updated by the conversation query processor (234) for an extension (230) and may also be accessible by the extension natural language processor (232) for that same extension (230).

In one aspect, an extension natural language processor (232) may include a service that receives and processes a conversation identifier (216) and returns data identifying an endpoint of a language understanding component to act as an extension natural language processor (232) for that particular query (214) in a conversation. The extension (230) can track a state of a conversation, and return data for a different endpoint of the language understanding component (which can be considered to still be part of the same extension natural language processor (232), but with the extension natural language processor (232) operating in a different mode for different states of the conversation) for different states of the conversation. Thus, the extension natural language processor (232) can operate differently for different turns of the conversation.

H. Example of Computerized Natural Language Query Intent Dispatching

A specific example of a conversation utilizing computerized natural language query intent dispatching with the natural language conversation system (200) will now be discussed. This just an example, and many other variations are possible in accordance with the remainder of the disclosure herein, including the attached claims.

In the example, the main natural language processor (220) can receive an initial query (214) that states, “I want to order a cheese pizza,” along with a conversation identifier (216). The main natural language processor (220) can determine whether the main natural language processor (220) can understand and respond to the initial query (214) with sufficient confidence, using its own natural language processing capabilities. If the main natural language processor (220) determines that it cannot do so, the main natural language processor (220) can forward the query (214) to a set of multiple extension natural language processors (232), some of which may be programmed to understand the query (214) with sufficient confidence and some of which may not be programmed to understand the query (214) with sufficient confidence. One of those may be an extension natural language processor (232) for a pizza ordering extension (230). Upon receiving the query (214), the extension natural language processor (232) for the pizza ordering extension (230) can return an “order pizza” intent (240) and a “cheese topping” entity (242). Other extension natural language processors (232) may also return other entities (242) in response to the query (214). The main natural language processor (220) can determine whether it has sufficient confidence in any of the returned intents (240). If not, the main natural language processor (220) can ask the client device for user input to select from among the intents (240). Also, if the main natural language processor (220) has sufficiently low confidence in all returned intents (240), it may provide its own default response (e.g., Web search results for the query (214)) without even asking for user input on the received intents (240).

Consider a scenario where the main natural language processor (220) selects the “order pizza” intent and matches the intent (240) with the conversation query processor (234) for the pizza ordering extension (230), so that the main natural language processor (220) selects the conversation query processor (234) for the pizza ordering extension (230) to handle the query (214). The main natural language processor (220) can send the “order pizza” intent (240) and a “cheese topping” entity (242) to the conversation query processor (234) for the pizza ordering extension (230), along with a conversation identifier (216) (which was received from a client device (210) along with the query (214)), and a masked user identifier (250).

The conversation query processor (234) can respond with an answer (218) stating, “What size do you want: small, medium, or large,” along with the conversation identifier (216) and the masked user identifier (250). The conversation query processor (234) can also record a state of the conversation, which can be associated with the conversation identifier (216). The main natural language processor (220) can forward the answer (218) with the conversation identifier (216) to the client device (210). The client device (210) can respond with a second query (214), which states “Large”, along with conversation identifier (216) for the conversation.

The main natural language processor (220) can receive the “Large” query (214), and can pass the query (214) to the extension natural language processor (232) for the pizza ordering extension (230). The main natural language processor (220) may recognize the ongoing conversation with the pizza ordering extension from the conversation identifier (216) and only forward the query (214) to the extension natural language processor (232) for the pizza ordering extension (230). Alternatively, the main natural language processor may also forward the query (214) to other extension natural language processors (232) and also consider their responsive intents, but favor the intent from the pizza ordering extension (230). The extension natural language processor (232) for the pizza ordering extension can receive the conversation identifier (216) received from the main natural language processor (220) with the query (214), and access the representation of the state of the conversation that is maintained by the conversation query processor (234), recognizing that a pizza size is expected. Accordingly, the extension natural language processor (232) can forward the query (214) to a component for recognizing a pizza size statement. The extension natural language processor (232) can then recognize the intent as “pizza size: large,” and return this intent (240) to the main natural language processor (220).

The main natural language processor (220) can forward the “pizza size: large” intent (240) to the conversation query processor (234) along with the conversation identifier (216). The conversation query processor (234) can recognize that this completes the pizza order (such as by recognizing that all available slots for a pizza order data structure are filled). The conversation query processor (234) can complete and submit the pizza order, and can respond with an answer (218), reading “Your large cheese pizza has been ordered.” The main natural language processor (220) can send this answer (218) on to the client device (210) for presentation on the client device (210).

I. Data Protection Component

Referring still to FIG. 2 and also to FIG. 3, a data protection component (270) will be discussed. The main natural language processor (220) and the data protection component (270) can be within a data protection compliance boundary (310), beyond which protected data is not to be disclosed. However, the data protection component (270) may operate independent of the main natural language processor (220), such as without awareness of the operations of the main natural language processor. Also, the data protection component (270) can be developed and/or managed independently of the main natural language processor (220).

The main natural language processor (220) can send data (320) from the query (214) to the data protection component (270). For example, the data (320) from the query (214) may include at least a portion of the text of the query (214) itself, a determined intent (240) of the query (214), and/or a determined entity (242) of an intent (240) of the query (214). The data protection component (270) can determine whether the data (320) from the query (214) includes protected data (330) whose transmission to an extension (230) would violate a computer-readable data protection rule. If so, then the data protection component (270) can initiate a data protection action to inhibit transmission of the protected data from the main natural language processor (220) to the extension as part of responding to the query (214).

The transmission to the extension (230) could be a transmission to an extension natural language processor (232) of an extension (230), a transmission to a conversation query processor (234) of an extension (230), and/or a transmission to some other extension component that is involved in responding to the query (214). In some instances, one extension component (such as an extension natural language processor (232)) may be inside a compliance boundary (310), and another corresponding component (such as a corresponding conversation query processor (234)) may be outside the compliance boundary (310). In such an instance, the component that is outside the compliance boundary (310) can be considered the extension that is outside the compliance boundary (310). Thus, the extension (230) that is outside the compliance boundary (310) may include an extension natural language processor (232), a conversation query processor (234), some other extension component that is configured to participate in responding to queries (214) received by the main natural language processor (220), or some combination thereof. For example, one or more such components may be integrated with the main natural language processor (220) inside the compliance boundary (310), while the other may operate separately and outside the compliance boundary (310). The compliance boundary (310) is a boundary within the computer system that is defined by one or more data protection rules (340) and/or by other configurations of the computer system dictating the application of such data protection rules (340) within the computer system. The data protection rules (340) may be defined by user input from user profiles for developers and/or managers of the server system (212) for the natural language conversation system (200). As one specific example, for a hospital computer system, the compliance boundary (310) may include those computer components that are controlled by the hospital, and exclude computer components that are not controlled by the hospital.

The data protection component (270) can return a data protection response (350) to the main natural language processor (220), indicating the results of the data protection determination. For example, the data protection response (350) may indicate that no protected data was identified, or may indicate what data was identified as protected data (330). The main natural language processor (220) can respond to a data protection response (350) that indicates protected data is present by inhibiting transmission of that protected data to the extension (230). Alternatively, the data protection component (270) may be configured to pass the data (320) from the query (214) from the main natural language processor (220) to the extension (230). In such a configuration, the data protection component (270) may inhibit the transmission of protected data (330) from the main natural language processor to the extension (230) without involving the main natural language processor (220) in the inhibiting actions. For example, the data protection component (270) may itself block, filter, and/or mask the protected data (330).

Also, rather than receiving the data (320) from the query (214) from the main natural language processor (220), the data protection component (270) may receive the query (214) itself (which can be considered the data from the query) from another component. For example, the data protection component (270) may receive the query (214) before the query (214) is passed to the main natural language processor (220), and the data protection component (270) may still act to inhibit the transmission of protected data (330) to from the main natural language processor (220) to the extension (230). For example, the data protection component (270) may do this by taking inhibiting actions itself and/or instructing another component such as the main natural language processor (220) to do so.

The data protection rule (340) can take different forms, depending on the processes to be used by the data protection component (270) in determining whether the data (320) from the query (214) includes protected data (330). For example, a data protection rule (340) may include hardware storing computer software code for a keyword matching algorithm. The data protection rule (340) may also include a data structure that includes keywords for which the data protection component (270) is looking for matches. Such a match in the data (320) from the query (214) can indicate that the matching data is protected data (330) that is to be protected from transmission to the extension (230). For example, for a hospital, the keywords may include names of patients in the hospital to prevent disclosure of those names to the extension (230). As another example, for a business, the keywords could include names of customers, product names, or project names that the business does not want disclosed to the extension (230).

The data protection rules (340) may be more complex than keyword matching. For example, the data protection rules (340) may define particular data patterns and/or grammar patterns in a single query (214), or even in a series of queries (214) in a conversation. For example, the data protection rule (340) define a computer-readable analysis of whether a series of queries (214) includes a name that matches a name on an employee list; an amount of currency; and one or more of multiple defined patterns of words and/or phrases indicating that the currency amount is the salary of the person with the name. Such a data protection rule (340) may be used by the data protection component (270) to avoid disclosing such salary information outside of a compliance boundary (where the computer components inside the compliance boundary may include computer components controlled by user profiles of sufficiently high level employees and employees in a payroll department, and may exclude computer components controlled by user profiles of other employees). The data protection component (270) may monitor such conversations using the conversation identifiers (216) discussed above, with the data protection component (270) examining each query (214) that is sent to the main natural language processor (220). In applying more complex data protection rules (340), the data protection component (270) may be configured to use a natural language understanding component, as discussed above.

The inhibiting of the transmission of the protected data (330) to the extension (230) can be performed in one or more of various ways. For example, the transmission of all data from the query (214) to the extension (230) may be blocked. In this instance, the main natural language processor (220) may respond to the query (214) in a manner that does not involve the extension (230). For example, the main natural language processor (220) may respond to the query (214) by returning a natural language answer (218) that indicates the query (214) cannot be processed because doing so would violate a data protection rule. For example, an answer (218) may state, “I cannot assist you with your request because it appears that doing so would require a prohibited disclosure of a hospital patient's name.” Or the main natural language processor (220) may respond in some other manner, such as by providing results of a web search using language in the query (214).

As another example of an inhibiting action, protected data (330) may be filtered out of the data (320) from the query (214), and the other unprotected data (360) from the query (214) may be sent on to the extension. As with the protected data (330), the other unprotected data (360) may be in one or more of various forms, such as data representing text from the query (214) itself, data representing one or more intents (240) and/or data representing one or more entities (242). For example, the unprotected query data (360) may include data representing text of the query (214) to be used by the extension (230) in producing an intent (240) and/or entity (242), or the unprotected data (360) may be one or more intents (240) and/or entities (242) to be used by the extension (230) in generating an answer (218) and/or performing a task in response to the query (214).

As an example of using the unprotected data (360), if data (320) from a query (214) states, “Order a pizza for Samuel Fink,” and the data protection component (270) determines that the name “Samuel Fink” is protected data (330), the name may be removed. Other unprotected data (360) may be sent to the extension (230), stating “Order a pizza.” Also, a placeholder may be introduced for the protected data (330). For example, the fake name “John Doe” may be inserted in place of the protected name “Samuel Fink”, and the following can still be forwarded to the extension (230): “Order a pizza for John Doe.” Such a placeholder may be considered a form of masked query data (370).

Indeed, the inhibiting may include masking the protected data (330) such as in a reversible manner such as using an encryption function, and sending the masked data (370) to the extension (230) so that the protected data may be derived from the masked data (370) later (such as where the extension (230) returns a response that includes the masked data (370)). For example, the masking may include performing an encryption function on the protected data (330), possibly with a salt that is specific to the extension (230). Such an encryption function may be AES (possibly with a salt that is specific to the extension), or Blowfish (again, possibly with a salt that is specific to the extension). The resulting encrypted value can be forwarded to the extension (230) as the masked query data (370). Upon receiving the encrypted value back from the extension (230), the encryption function can be reversed to reproduce the protected data (330). Alternatively, the masked data may be a hash value, which may be stored in a hash table within the compliance boundary (310) to allow the original protected data to be recovered later from the hash value received back from the extension (230). Also, a one-way hashing function (possibly with a salt that is specific to the extension, as discussed above) may be used for masking the protected data (330) if the masked data (370) is not to be reversed to reproduce the protected data (330).

The inhibiting of the transmission of the protected data (330) may include requesting user input from the client device (210), asking whether the transmission of the protected data (330) is permission. In such an instance, inhibiting can include making the inhibited transmission only if the user input indicates that the inhibited transmission is to be made. For example, such a request for user input can be sent from the data protection component (270), possibly via the main natural language processor (220), and responsive user input can be received and analyzed by the data protection component (270).

III. Techniques for Data Protection in Natural Language Extension Transmissions

Several techniques for data protection in natural language extension transmissions will now be discussed. Each of these techniques can be performed in a computing environment. For example, each technique may be performed in a computer system that includes at least one processor and memory including instructions stored thereon that when executed by at least one processor cause at least one processor to perform the technique (memory stores instructions (e.g., object code), and when processor(s) execute(s) those instructions, processor(s) perform(s) the technique). Similarly, one or more computer-readable memory may have computer-executable instructions embodied thereon that, when executed by at least one processor, cause at least one processor to perform the technique. The techniques discussed below may be performed at least in part by hardware logic.

Referring to FIG. 4, a technique for data protection in natural language extension transmissions will be described. The technique can include receiving (410) a natural language query at a main natural language processor inside a data protection compliance boundary in a computer system. The natural language query can be processed (420) via the main natural language processor. The data from the query can be transmitted (430) to a data protection computer component, such as from the main natural language processor to the data protection component. It can be determined (440) via the data protection component whether the data from the query includes protected data whose transmission to a computerized extension would violate a computer-readable data protection rule, where the extension is outside the compliance boundary in the computer system. The extension is a computerized extension that is configured to participate in responding to natural language queries received by the main natural language processor. In response to determining (440) that the data from the query includes the protected data, transmission of the protected data from the main natural language processor to the extension as part of responding to the query can be inhibited (450). In response to determining (440) that the data from the query does not include protected data whose transmission to a computerized extension would violate a computer-readable data protection rule, the data from the query can be transmitted (460) from the main natural language processor to the extension. The technique of this paragraph can be performed with one or more of the features in the group of features in each of the following paragraphs in any combination of the groups of features, where it is determined (440) that the data from the query does include the protected data.

The technique of FIG. 4 may further include processing an intent set for the query, with the intent set including one or more determined intents of the query, wherein the intent set includes the protected data. The protected data may include on or more of a determined intent of the query and an entity of the intent.

The data protection component of the technique of FIG. 4 can operate independently of the main natural language processor, such as where the data protection component can perform the determination (440) without a knowledge of ongoing processes in the main natural language processor. Also, the data protection component may be independent, in that it can be developed independent of the main natural language processor.

The inhibiting can include masking the protected data to produce masked data and sending the masked data to the extension as part of responding to the natural language query.

The acts can further include transmitting other data from the query to the extension, with the other data being data other than the protected data. For example, the other data may include an intent of the query, and the technique of FIG. 4 may further include passing to the extension a computer-readable instruction to respond to the intent of the query. As another example, the technique of FIG. 4 may further include passing to the extension a computer-readable request to return an intent for the query using the other data, with the determining that the data from the query comprises protected data being performed prior to the passing of the computer-readable request to the extension.

The technique of FIG. 4 may further include blocking a response to the query in response to the determining (440) that the data from the query comprises protected data whose transmission to the computerized extension would violate a computer-readable data protection rule.

The determining (440) that the data from the query includes protected data whose transmission to the computerized extension would violate a computer-readable data protection rule can include comparing the data from the query to a data structure that includes key words indicating protected data.

The determining (440) that the data from the query includes protected data whose transmission to the computerized extension would violate a computer-readable data protection rule can include determining that the data from the query includes protected data whose transmission from the main natural language processor to the computerized extension would violate a computer-readable data protection rule.

The inhibited transmission in the technique of FIG. 4 may be either a transmission to a natural language processor of the extension that is programmed to produce intents for natural language queries, or a transmission to a conversation query processor of the extension that is programmed to use determined intents of queries in generating answers to those queries.

The protected data can include one or more of a determined intent of the query and a determined entity of a determined query intent.

The inhibiting (450) can include asking for user input as to whether to make the inhibited transmission, and making the inhibited transmission of the protected data only if the user input indicates that the inhibited transmission is to be made.

The determining (440) that the data from the query includes protected data whose transmission to the computerized extension would violate the computer-readable data protection rule can include invoking a natural language understanding computer component.

Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims. 

1. A computer system comprising: at least one processor; and memory comprising instructions stored thereon that when executed by at least one processor cause at least one processor to perform acts comprising: receiving a natural language query at a main natural language processor inside a data protection compliance boundary in the computer system; processing the natural language query via the main natural language processor; transmitting data from the query to a data protection computer component; determining, via the data protection component, that the data from the query comprises protected data whose transmission to a computerized extension would violate a computer-readable data protection rule, wherein the extension is outside the compliance boundary in the computer system, and wherein the extension is configured to participate in responding to natural language queries received by the main natural language processor; and in response to the determining that the data protection rule would be violated, inhibiting a transmission of the protected data from the main natural language processor to the extension as part of responding to the query.
 2. The computer system of claim 1, wherein the acts further comprise processing an intent set for the for the query, with the intent set comprising one or more determined intents of the query, wherein the intent set comprises the protected data.
 3. The computer system of claim 2, wherein the protected data comprises one or more of a determined intent of the query and an entity of the intent.
 4. The computer system of claim 1, wherein the data protection component operates independently of the main natural language processor.
 5. The computer system of claim 1, wherein the inhibiting comprises masking the protected data to produce masked data and sending the masked data to the extension as part of responding to the query.
 6. The computer system of claim 1, wherein the acts further comprise transmitting other data from the query to the extension, with the other data from the query being data other than the protected data.
 7. The computer system of claim 6, wherein the other data comprises an intent of the query, and wherein the acts further comprise passing to the extension a computer-readable instruction to respond to the intent of the query.
 8. The computer system of claim 6, wherein the acts further comprise passing to the extension a computer-readable request to return an intent for the query using the other data, with the determining that the data from the query comprises protected data being performed prior to the passing of the computer-readable request to the extension.
 9. The computer system of claim 1, further comprising blocking a response to the query in response to the determining, via the data protection component, that the data from the query comprises protected data whose transmission to the computerized extension would violate a computer-readable data protection rule.
 10. The computer system of claim 1, wherein the determining, via the data protection component, that the data from the query comprises protected data whose transmission to the computerized extension would violate a computer-readable data protection rule comprises comparing the data from the query to a data structure comprising key words indicating protected data.
 11. The computer system of claim 1, wherein the determining that the data from the query comprises protected data whose transmission to the computerized extension would violate a computer-readable data protection rule comprises determining that the data from the query comprises protected data whose transmission from the main natural language processor to the computerized extension would violate a computer-readable data protection rule.
 12. A computer-implemented method, comprising the following acts: receiving a natural language query from a client device at a main natural language processor inside a data protection compliance boundary in a computer system; processing the natural language query via the main natural language processor; transmitting data from the query, with the transmitting of the data from the query being from the main natural language processor to a data protection computer component; determining, via the data protection component, that the data from the query comprises protected data whose transmission to a computerized extension would violate a computer-readable data protection rule, wherein the extension is outside the compliance boundary in the computer system, and wherein the extension is configured to participate in responding to natural language queries received by the main natural language processor; and in response to the determining that the data protection rule would be violated, inhibiting a transmission of the protected data from the main natural language processor to the extension, wherein the extension includes one or more of the following: a natural language processor of the extension that is programmed to produce intents for natural language queries, and a conversation query processor of the extension that is programmed to use determined intents of queries in generating answers to those queries.
 13. The method of claim 12, wherein the inhibited transmission is a transmission to a natural language processor of the extension that is programmed to produce intents for natural language queries.
 14. The method of claim 12, wherein the inhibited transmission is a transmission to a conversation query processor that is programmed to use determined intents queries in generating answers to those queries.
 15. The method of claim 14, wherein the protected data comprises one or more of a determined intent of the query and a determined entity of a determined query intent.
 16. The method of claim 12, wherein the inhibiting comprises asking for user input as to whether to make the inhibited transmission, and making the inhibited transmission only if the user input indicates that the inhibited transmission is to be made.
 17. The method of claim 12, wherein the determining, via the data protection component, that the data from the query comprises protected data whose transmission to the computerized extension would violate the computer-readable data protection rule comprises invoking a natural language understanding computer component.
 18. The method of claim 12, wherein the data protection component operates independently of the main natural language processor.
 19. The method of claim 12, wherein the acts further comprise transmitting other data from the query to the extension, with the other data from the query being data other than the protected data.
 20. One or more computer-readable memory having computer-executable instructions embodied thereon that, when executed by at least one processor, cause at least one processor to perform acts comprising: receiving a natural language query from a client device at a main natural language processor inside a data protection compliance boundary in a computer system; processing the natural language query via the main natural language processor; transmitting data from the query, with the transmitting of the data from the query being from the main natural language processor to a data protection computer component; determining, via the data protection component, that the data from the query comprises protected data whose transmission to a computerized extension would violate a computer-readable data protection rule, wherein the extension is outside the compliance boundary in the computer system, and wherein the extension is configured to participate in responding to natural language queries received by the main natural language processor; and in response to the determining that the data protection rule would be violated, inhibiting a transmission of the protected data from the main natural language processor to the extension that would have occurred were it not for the determining that the data protection rule would be violated, wherein the inhibited transmission is a transmission to a natural language processor of the extension that is programmed to produce intents for natural language queries. 